package com.person.tbsystem.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.person.tbsystem.R;

/**
 * Created by Demon on 2015/12/28.
 */
public class LoginActivity extends Activity implements View.OnClickListener {
    private Button btn_login=null;
    private Button btn_register=null;
    private EditText login_username=null;
    private EditText login_pwd=null;



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.login);
        btn_login= (Button) findViewById(R.id.btn_login);
        btn_register= (Button) findViewById(R.id.btn_register);
        login_username= (EditText) findViewById(R.id.et_username);
        login_pwd= (EditText) findViewById(R.id.et_pwd);
        btn_login.setOnClickListener(this);
        btn_register.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.btn_login:
                break;
            case R.id.btn_register:
                break;
        }
    }
}
